package cn.wom.core.bean;

import org.apache.commons.lang3.StringUtils;

public class QueryPojo {
	private String gname; 
	private String pname; 
	private String isfinish; 
	private String dateStart; 
	private String dateEnd; 
	private String address;
	private String audit;
	private String w_user;
	private String m_id;
	private String grammage;
	private String specification;
	
	public String getM_id() {
		
		return m_id;
	}
	public void setM_id(String m_id) {
		if(StringUtils.isNotBlank(gname)){
		this.m_id = m_id;
		}
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		if(StringUtils.isNotBlank(gname)){
			this.gname = gname;
		}
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		if(StringUtils.isNotBlank(pname)){
		this.pname = pname;
		}
	}
	public String getIsfinish() {
		return isfinish;
	}
	public void setIsfinish(String isfinish) {
		if(StringUtils.isNotBlank(isfinish)){
		this.isfinish = isfinish;
		}
	}
	public String getDateStart() {
		return dateStart;
	}
	public void setDateStart(String dateStart) {
		if(StringUtils.isNotBlank(dateStart)){
		this.dateStart = dateStart;
		}
	}
	public String getDateEnd() {
		return dateEnd;
	}
	public void setDateEnd(String dateEnd) {
		if(StringUtils.isNotBlank(dateEnd)){
		this.dateEnd = dateEnd;
		}
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		if(StringUtils.isNotBlank(address)){
		this.address = address;
		}
	}
	public String getAudit() {
		return audit;
	}
	public void setAudit(String audit) {
		if(StringUtils.isNotBlank(audit)){
			this.audit = audit;
		}
	}
	public String getW_user() {
		return w_user;
	}
	public void setW_user(String w_user) {
		if(StringUtils.isNotBlank(w_user)){
		this.w_user = w_user;
		}
	}
	public String getGrammage() {
		return grammage;
	}
	public void setGrammage(String grammage) {
		if(StringUtils.isNotBlank(grammage)){
		this.grammage = grammage;
		}
	}
	public String getSpecification() {
		return specification;
	}
	public void setSpecification(String specification) {
		if(StringUtils.isNotBlank(specification)){
		this.specification = specification;
		}
	}
	@Override
	public String toString() {
		return "QueryPojo [gname=" + gname + ", pname=" + pname + ", isfinish=" + isfinish + ", dateStart=" + dateStart
				+ ", dateEnd=" + dateEnd + ", address=" + address + ", audit=" + audit + ", w_user=" + w_user
				+ ", m_id=" + m_id + ", grammage=" + grammage + ", specification=" + specification + "]";
	}
	
}
